org.globalplatform
Interface HTTPReportListener

All Superinterfaces:
javacard.framework.Shareable

public interface HTTPReportListener
extends javacard.framework.Shareable

An applet may implement this interface in order to receive notification on HTTPAdministration request processing.

Such an applet shall expose the HTTPReportListener interface object(s) through Applet.getShareableInterfaceObject(javacard.framework.AID, byte) only if the client AID is null, and the parameter is set to GPSystem.FAMILY_HTTP_REPORT.

Since:
export file version 1.3

Field Summary
static short HTTP_SESSION_ERROR
          Constant notifying that the HTTPAdministartion session fails.
static short HTTP_SESSION_NO_ERROR
          Constant notifying that HTTPAdministration session End successfully
 
Method Summary
 void httpAdministationSessionReport(short status)
          Notifies the applet that the requested HTTPAdministrationSession has been successfully completed or not.
 

Field Detail

HTTP_SESSION_NO_ERROR

static final short HTTP_SESSION_NO_ERROR
Constant notifying that HTTPAdministration session End successfully

See Also:
Constant Field Values

HTTP_SESSION_ERROR

static final short HTTP_SESSION_ERROR
Constant notifying that the HTTPAdministartion session fails. The retry policy of the session is exhausted and the administration session request is aborted.

See Also:
Constant Field Values
Method Detail

httpAdministationSessionReport

void httpAdministationSessionReport(short status)
Notifies the applet that the requested HTTPAdministrationSession has been successfully completed or not.

The OPEN notify the Applet when the HTTPAdministrationSession end or when retry policy is exhausted.

Parameters:
status - With following meaning
  • HTTP_SESSION_NO_ERROR: HTTPAdministration session End
  • HTTP_SESSION_ERROR: retry policy of the HTTPAdministration session is exhausted